/**
 * Copyright (C), 2015-2019, XXX有限公司
 * FileName: Orange
 * Author:   zhouheng
 * Date:     2019/5/1 9:58
 * Description: orange
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.zhouh.patterns.com.zhouh.entity.fruit;

import com.zhouh.patterns.com.zhouh.entity.Fruit;
import com.zhouh.patterns.com.zhouh.entity.bag.OrangeBag;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 〈一句话功能简述〉<br> 
 * 〈orange〉
 *
 * @author zhouheng
 * @create 2019/5/1
 * @since 1.0.0
 */
@Data
@NoArgsConstructor
public class Orange implements Fruit {
    int price = 5;

    @Override
    public int price() {
        return price;
    }

    @Override
    public void draw() {
        System.out.println("orange...");
    }

    public void pack(OrangeBag bag){
        bag.pack();
    }

}